import request from '../utils/request'

export function getHospData(params) {
    return request({
        url: 'hn',
        method: 'get',
        params
    })
}

export function delById(data) {
    return request({
        url: 'delete',
        method: 'post',
        data
    })
}

export function delAll(data) {
    return request({
        url: 'delAll',
        method: 'post',
        data
    })
}

export function addArr(data) {
    return request({
        url: 'addArr',
        method: 'post',
        data
    })
}

export function upDateArr(data) {
    return request({
        url: 'upDateArr',
        method: 'post',
        data
    })
}